package main

import (
	"fmt"
	"runtime"
	"sync"
	// "time"
)


func main() {
	runtime.GOMAXPROCS(2);
	var wg sync.WaitGroup
	wg.Add(2);
	fmt.Print("start\n")
	
	go func ()  {
		defer wg.Done()
		// runtime.LockOSThread()
		for a:=0;a<3;a++ {
			for char := 'a';char<'a'+26;char++{
				fmt.Printf("%c ",char)
			}
		}
	}()

	go func ()  {
		defer wg.Done()
		// runtime.LockOSThread()
		for b:=0;b<3;b++ {
			for char := 'A';char<'A'+26;char++{
				fmt.Printf("%c ",char)
			}
		}

	}()

	fmt.Print("waiting\n")
	wg.Wait()
	fmt.Printf("ok")
}